<template>
  <div class="title1">
    <span @click="$router.go(-1)">返回</span>
    <span>{{ title }}</span>
    <span>{{ you }}</span>
  </div>
</template>

<script setup>
import { reactive, ref, toRefs } from "vue";
const title1 = defineProps({
  title: {
    type: String,
  },
  you: {
    type: String,
  },
});
</script>
<style lang="scss" scoped>
.title1 {
  padding: 15px;
  display: flex;
  justify-content: space-between;
}
</style>
